package com.fy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fy.pojo.entity.ChatConstant;
import com.fy.utils.result.Result;

/**
* @author fwq
* @description 针对表【chatconstant(智能客服常见问题表)】的数据库操作Service
* @createDate 2025-02-04 23:43:45
*/
public interface ChatConstantService extends IService<ChatConstant> {

    /**
     *  获取问题列表
     * @return
     */
    Result getQuestions();

    /**
     * 获取答案
     * @param question
     * @return
     */
    Result getAnswer(String question);
}
